package cn.hyp.bantang.module.finance.dal.mysql.basexj;

import java.util.*;

import cn.hyp.bantang.framework.common.pojo.PageResult;
import cn.hyp.bantang.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.hyp.bantang.framework.mybatis.core.mapper.BaseMapperX;
import cn.hyp.bantang.module.finance.dal.dataobject.basexj.BaseXjDO;
import org.apache.ibatis.annotations.Mapper;
import cn.hyp.bantang.module.finance.controller.admin.basexj.vo.*;

/**
 * 个股报告期现金 Mapper
 *
 * @author 半唐
 */
@Mapper
public interface BaseXjMapper extends BaseMapperX<BaseXjDO> {

    default PageResult<BaseXjDO> selectPage(BaseXjPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<BaseXjDO>()
                .eqIfPresent(BaseXjDO::getSecCode, reqVO.getSecCode())
                .likeIfPresent(BaseXjDO::getSecName, reqVO.getSecName())
                .eqIfPresent(BaseXjDO::getBgnd, reqVO.getBgnd())
                .eqIfPresent(BaseXjDO::getHblx, reqVO.getHblx())
                .eqIfPresent(BaseXjDO::getXsspLwXj, reqVO.getXsspLwXj())
                .eqIfPresent(BaseXjDO::getKeckTyckJzje, reqVO.getKeckTyckJzje())
                .eqIfPresent(BaseXjDO::getZyyhJkJzje, reqVO.getZyyhJkJzje())
                .eqIfPresent(BaseXjDO::getQtjrCrzjJzje, reqVO.getQtjrCrzjJzje())
                .eqIfPresent(BaseXjDO::getSdybxhtbfqddxj, reqVO.getSdybxhtbfqddxj())
                .eqIfPresent(BaseXjDO::getSdzbxywxjje, reqVO.getSdzbxywxjje())
                .eqIfPresent(BaseXjDO::getBhcjTzkJzje, reqVO.getBhcjTzkJzje())
                .eqIfPresent(BaseXjDO::getCzjyxjrzcJzje, reqVO.getCzjyxjrzcJzje())
                .eqIfPresent(BaseXjDO::getSqlxSxfYj, reqVO.getSqlxSxfYj())
                .eqIfPresent(BaseXjDO::getCrzjJzje, reqVO.getCrzjJzje())
                .eqIfPresent(BaseXjDO::getHgywzjJzje, reqVO.getHgywzjJzje())
                .eqIfPresent(BaseXjDO::getSddesffh, reqVO.getSddesffh())
                .eqIfPresent(BaseXjDO::getSdqtJyyg, reqVO.getSdqtJyyg())
                .eqIfPresent(BaseXjDO::getJyhdxjlrxj, reqVO.getJyhdxjlrxj())
                .eqIfPresent(BaseXjDO::getGmspJslwXj, reqVO.getGmspJslwXj())
                .eqIfPresent(BaseXjDO::getKhdkDkJzje, reqVO.getKhdkDkJzje())
                .eqIfPresent(BaseXjDO::getCfzyyhTykxJzje, reqVO.getCfzyyhTykxJzje())
                .eqIfPresent(BaseXjDO::getZfybxhtpfkxXj, reqVO.getZfybxhtpfkxXj())
                .eqIfPresent(BaseXjDO::getZflxSxfYj, reqVO.getZflxSxfYj())
                .eqIfPresent(BaseXjDO::getZfbdhlXj, reqVO.getZfbdhlXj())
                .eqIfPresent(BaseXjDO::getZfgzgWzgzfXj, reqVO.getZfgzgWzgzfXj())
                .eqIfPresent(BaseXjDO::getZfdgxsf, reqVO.getZfdgxsf())
                .eqIfPresent(BaseXjDO::getZfqtyjyhdygXj, reqVO.getZfqtyjyhdygXj())
                .eqIfPresent(BaseXjDO::getJyhdxjlcxj, reqVO.getJyhdxjlcxj())
                .eqIfPresent(BaseXjDO::getJyhdcsdexjllje, reqVO.getJyhdcsdexjllje())
                .eqIfPresent(BaseXjDO::getShtzsddxj, reqVO.getShtzsddxj())
                .eqIfPresent(BaseXjDO::getQdtzsysddxj, reqVO.getQdtzsysddxj())
                .eqIfPresent(BaseXjDO::getCzgdzcWxzcQtcqzcshZjje, reqVO.getCzgdzcWxzcQtcqzcshZjje())
                .eqIfPresent(BaseXjDO::getCzzgs, reqVO.getCzzgs())
                .eqIfPresent(BaseXjDO::getSdqtytzhdygdxj, reqVO.getSdqtytzhdygdxj())
                .eqIfPresent(BaseXjDO::getTzhdxjlrxj, reqVO.getTzhdxjlrxj())
                .eqIfPresent(BaseXjDO::getGjgdzcWxzcQtcqzczf, reqVO.getGjgdzcWxzcQtcqzczf())
                .eqIfPresent(BaseXjDO::getTzzfdxj, reqVO.getTzzfdxj())
                .eqIfPresent(BaseXjDO::getZydkjzje, reqVO.getZydkjzje())
                .eqIfPresent(BaseXjDO::getQdzgsQtyydwzfdxjje, reqVO.getQdzgsQtyydwzfdxjje())
                .eqIfPresent(BaseXjDO::getZfqtytzhdygdxj, reqVO.getZfqtytzhdygdxj())
                .eqIfPresent(BaseXjDO::getTzhdxjlcxj, reqVO.getTzhdxjlcxj())
                .eqIfPresent(BaseXjDO::getTzhdcsdxjllje, reqVO.getTzhdcsdxjllje())
                .eqIfPresent(BaseXjDO::getXstzsddxj, reqVO.getXstzsddxj())
                .eqIfPresent(BaseXjDO::getQzZgsxsssgdtzsdxj, reqVO.getQzZgsxsssgdtzsdxj())
                .eqIfPresent(BaseXjDO::getQdjksddxj, reqVO.getQdjksddxj())
                .eqIfPresent(BaseXjDO::getFxzqsddxj, reqVO.getFxzqsddxj())
                .eqIfPresent(BaseXjDO::getSdqtyczhdygdxj, reqVO.getSdqtyczhdygdxj())
                .eqIfPresent(BaseXjDO::getCzhdxjlrxj, reqVO.getCzhdxjlrxj())
                .eqIfPresent(BaseXjDO::getChzwzfdxj, reqVO.getChzwzfdxj())
                .eqIfPresent(BaseXjDO::getFpglLrPclxzfdxj, reqVO.getFpglLrPclxzfdxj())
                .eqIfPresent(BaseXjDO::getQzZgszfgssgddglhlr, reqVO.getQzZgszfgssgddglhlr())
                .eqIfPresent(BaseXjDO::getZfqtyczhdygdxj, reqVO.getZfqtyczhdygdxj())
                .eqIfPresent(BaseXjDO::getCzhdxjlcxj, reqVO.getCzhdxjlcxj())
                .eqIfPresent(BaseXjDO::getCzhdcsdxjllje, reqVO.getCzhdcsdxjllje())
                .eqIfPresent(BaseXjDO::getHlbddxjjxjdjwdyx, reqVO.getHlbddxjjxjdjwdyx())
                .eqIfPresent(BaseXjDO::getQtyydxjdyx, reqVO.getQtyydxjdyx())
                .eqIfPresent(BaseXjDO::getXjXjdjwJzje, reqVO.getXjXjdjwJzje())
                .eqIfPresent(BaseXjDO::getQcxjjxjdjwye, reqVO.getQcxjjxjdjwye())
                .eqIfPresent(BaseXjDO::getQmxjXjdjwye, reqVO.getQmxjXjdjwye())
                .eqIfPresent(BaseXjDO::getJlr, reqVO.getJlr())
                .eqIfPresent(BaseXjDO::getPZcjzzb, reqVO.getPZcjzzb())
                .eqIfPresent(BaseXjDO::getGdzcYqshScxswzcZj, reqVO.getGdzcYqshScxswzcZj())
                .eqIfPresent(BaseXjDO::getTzxfdcZjTx, reqVO.getTzxfdcZjTx())
                .eqIfPresent(BaseXjDO::getWxzctx, reqVO.getWxzctx())
                .eqIfPresent(BaseXjDO::getCqdtfytx, reqVO.getCqdtfytx())
                .eqIfPresent(BaseXjDO::getCzgdzcWxzcQtcqzcss, reqVO.getCzgdzcWxzcQtcqzcss())
                .eqIfPresent(BaseXjDO::getGdzcbfss, reqVO.getGdzcbfss())
                .eqIfPresent(BaseXjDO::getGyjzbdss, reqVO.getGyjzbdss())
                .eqIfPresent(BaseXjDO::getCwfy, reqVO.getCwfy())
                .eqIfPresent(BaseXjDO::getTzss, reqVO.getTzss())
                .eqIfPresent(BaseXjDO::getDysdsacjs, reqVO.getDysdsacjs())
                .eqIfPresent(BaseXjDO::getDysdsfzzj, reqVO.getDysdsfzzj())
                .eqIfPresent(BaseXjDO::getChjs, reqVO.getChjs())
                .eqIfPresent(BaseXjDO::getJyxysxmdjs, reqVO.getJyxysxmdjs())
                .eqIfPresent(BaseXjDO::getJyxyfxmdzj, reqVO.getJyxyfxmdzj())
                .eqIfPresent(BaseXjDO::getQt, reqVO.getQt())
                .eqIfPresent(BaseXjDO::getJyhdcsdxjllje, reqVO.getJyhdcsdxjllje())
                .eqIfPresent(BaseXjDO::getZwzwzb, reqVO.getZwzwzb())
                .eqIfPresent(BaseXjDO::getYnndqdekzzgszq, reqVO.getYnndqdekzzgszq())
                .eqIfPresent(BaseXjDO::getRzzrgdzc, reqVO.getRzzrgdzc())
                .eqIfPresent(BaseXjDO::getXjdqmye, reqVO.getXjdqmye())
                .eqIfPresent(BaseXjDO::getMXjdqcye, reqVO.getMXjdqcye())
                .eqIfPresent(BaseXjDO::getPXjdjwdqcye, reqVO.getPXjdjwdqcye())
                .eqIfPresent(BaseXjDO::getMXjdjwdqcye, reqVO.getMXjdjwdqcye())
                .eqIfPresent(BaseXjDO::getPQtyydxjdyx, reqVO.getPQtyydxjdyx())
                .eqIfPresent(BaseXjDO::getXjjdjwJzje, reqVO.getXjjdjwJzje())
                .eqIfPresent(BaseXjDO::getXyjzss, reqVO.getXyjzss())
                .eqIfPresent(BaseXjDO::getDlmmzqsddxjje, reqVO.getDlmmzqsddxjje())
                .eqIfPresent(BaseXjDO::getYxjyhdxjlrdqtkm, reqVO.getYxjyhdxjlrdqtkm())
                .eqIfPresent(BaseXjDO::getCczjjzje, reqVO.getCczjjzje())
                .eqIfPresent(BaseXjDO::getYxJyhdXjlrQt, reqVO.getYxJyhdXjlrQt())
                .eqIfPresent(BaseXjDO::getYxTzhdXjlrQt, reqVO.getYxTzhdXjlrQt())
                .eqIfPresent(BaseXjDO::getYxTzhdXjlcQt, reqVO.getYxTzhdXjlcQt())
                .eqIfPresent(BaseXjDO::getYxCzhdXjlrQt, reqVO.getYxCzhdXjlrQt())
                .eqIfPresent(BaseXjDO::getYxCzhdXjlcQt, reqVO.getYxCzhdXjlcQt())
                .eqIfPresent(BaseXjDO::getYxJyhdXjlljeQt, reqVO.getYxJyhdXjlljeQt())
                .betweenIfPresent(BaseXjDO::getCreateTime, reqVO.getCreateTime())
                .orderByDesc(BaseXjDO::getId));
    }

}